package Demo03;

public class test {
//    public static void main(String[] args){
//        computer c=new computer();
//        iusb u=new mouse();
//        c.useDevice(u);
//    }

    public static void main(String[] args) {
        computer c=new computer();
        mouse m=new mouse();
        keyboard k=new keyboard();
        c.useDevice(m);
        System.out.println("-------------");
        c.useDevice(k);
    }
}
